drivers: mmc: omap_hsmmc: Fix IO Buffer on OMAP36xx
authorAdam Ford <[email protected]>
Mon, 6 Feb 2017 17:31:43 +0000 (11:31 -0600)
committerJaehoon Chung <[email protected]>
Thu, 9 Feb 2017 11:37:06 +0000 (20:37 +0900)
commit6aca17c9b7e8d311c86d4cf54daef65bdf68ef73
treec3667e90cb45816db0d1f0f1690f8a3e33167382
parentd14f1d511a8070f6c435a3ccc300ae488449706e
drivers: mmc: omap_hsmmc: Fix IO Buffer on OMAP36xx

On the OMAP36xx/37xx the CONTROL_WKUP_CTRL register has
a field (bit 6) named GPIO_IO_PWRDNZ.  If 0, the IO buffers which
are related to GPIO_126, 127 and 129 are disabled. Some boards may
need this for MMC. After the PBIAS is configured, this bit should
be set high to enable these GPIO pins.

Signed-off-by: Adam Ford <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
configs/omap3_logic_defconfig
drivers/mmc/Kconfig
drivers/mmc/omap_hsmmc.c